#ifndef REQUESTHANDLERTHREAD_H
#define REQUESTHANDLERTHREAD_H

#include <qthread.h>
#include <string>

class RequestHandlerThread : public QThread
{
    Q_OBJECT

public:

    RequestHandlerThread(unsigned int session_id,
                        std::string service_name,
                        std::string request_id,
                        std::string request_type,
                        std::string request);

    ~RequestHandlerThread();

    std::string getRequestID()const
    {
        return m_requestId;
    }
    void run();

private:

    unsigned int m_sessionId;

    std::string m_serviceName;

    std::string m_requestId;

    std::string m_requestType;

    std::string m_request;

};
#endif
